projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb02749
)
Nuke trailing whitespace from smart shortnames.
author
robertl
<robertl>
Tue, 13 Feb 2007 06:55:26 +0000
(06:55 +0000)
committer
robertl
<robertl>
Tue, 13 Feb 2007 06:55:26 +0000
(06:55 +0000)
mkshort.c
patch
|
blob
|
history
diff --git
a/mkshort.c
b/mkshort.c
index daa7514349cd45dc46ca44d4de5e273edc92ad37..d2b928fc45eb5ed4c9ec980b9d952f60a96de734 100644
(file)
--- a/
mkshort.c
+++ b/
mkshort.c
@@
-515,6
+515,7
@@
mkshort(short_handle h, const char *istring)
if (dp < ostring) dp = ostring;
memmove(dp, np, strlen(np));
dp[strlen(np)] = 0;
+ rtrim(ostring);
}
/*